package com.leyou.upload.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @package com.leyou.upload.config
 * @description: OSS云服务配置参数实体类
 * @author: 许超越
 * @date 2019/6/25 20:05
 * @version: V1.0
 */
@Data
@ConfigurationProperties(prefix = "ly.oss")
public class OSSProperties {
    private String accessKeyId;
    private String accessKeySecret;
    private String bucket;
    private String host;
    private String endpoint;
    private String dir;
    private long expireTime;
    private long maxFileSize;
}
